package com.example.horizontalgridview;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class HomeActivity extends Activity implements OnClickListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.test_layout);
		Button click = (Button) findViewById(R.id.click);
		click.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		startActivity(new Intent(getApplicationContext(), MainActivity.class));
	}

}
